
@import "../scss-fn";
.select, .input, .textarea {
  margin: 0;
  padding: 0;
}
.select,.input {
  background: #f8f8fb;
  padding: 0 10px;
  border-radius: 2px;
  margin: 0;
}
.input {
  padding-left: 10px;
}
.textarea {
  border: 1px solid #f8f8fb;
  padding: 5px 10px;
  border-radius: 2px;
  resize: none;
}
.label-select {
  position: relative;
  display: inline-block;
  &:after {
    position: absolute;
    top: 15px;
    right: 10px;
    content: "";
    width: 5px;
    height: 5px;
    border-top: 1px solid #bdc4d2;
    border-left: 1px solid #bdc4d2;
    transform: rotate(-130deg);
    -webkit-transform: rotate(-130deg);
  }
  &.label-open {
    &:after {
      top: 17px;
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
    }
  }
}


.label-checkbox {
  width: 14px;
  height: 14px;
  display: inline-block;
  position: relative;
  &:after {
    content: "";
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d3d8df;
    border-radius: 2px;
    z-index: 1;
  }
}

.label-input-checkbox {
  display: none;
  &:checked + .label-checkbox {
      &:after {
        border-color: #8283e8;
        background: #8283e8;
      }
      &:before {
        content: "";
        width: 7px;
        height: 4px;
        border-bottom: 2px solid #fff;
        border-left: 2px solid #fff;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        position: absolute;
        z-index: 2;
        left: 4px;
        top: 4px;
      }
  }
}